﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="ServiceEdit.aspx.cs" Inherits="ServiceEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table>
        <tr>
            <td>
                <asp:Label ID="lblName" Text="Title" runat="server" /></td>
            <td>
                <asp:TextBox ID="txtName" runat="server" CssClass="textbox" /></td>
        </tr>
        <%--<tr>
            <td>
                <asp:Label ID="lblNameGeo" Text="სახელი(ქართულად)" runat="server" /></td>
            <td>
                <asp:TextBox ID="txtNameGeo" runat="server" CssClass="textbox" /></td>
        </tr>--%>
        <tr>
            <td>
                <asp:Label ID="lblCurrencyType" Text="Currency" runat="server" /></td>
            <td>
                <asp:DropDownList ID="ddlCurrencyTypes" runat="server" CssClass="textbox"
                    DataSourceID="CurrencyTypesDS" DataTextField="Name" DataValueField="CurrencyTypeID">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblUnitPrice" Text="Unit Price" runat="server" /></td>
            <td>
                <asp:TextBox ID="txtUnitPrice" runat="server" CssClass="textbox" />
                <asp:CompareValidator ID="cmprValidatorDoubleType1" runat="server" ControlToValidate="txtUnitPrice" Type="Double" Display="Dynamic" Operator="DataTypeCheck"
        ErrorMessage="* Not a valid number."></asp:CompareValidator>
            </td>
        </tr>
    </table>
    <br />
    <br />
    <asp:Button ID="btnSave" Text="Save" runat="server" OnClick="btnSave_Click" CssClass="button_pink" />

    <asp:ObjectDataSource ID="CurrencyTypesDS" runat="server" SelectMethod="GetAll" TypeName="DAL.DBManagers.CurrencyTypesManager"></asp:ObjectDataSource>
</asp:Content>

